//
//  main.m
//  GeneralDiveUtilitiesTestHarness
//
//  Created by Donald MacKay on 11-04-21.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

#include "DiveUtilities.h"
#include "ClassMethodsTests.h"
#include "InstanceMethodsTests.h"


int main (int argc, const char * argv[])
{
//    NSError *e; 

    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

    // insert code here...
//    GasMix *mix = [[GasMix alloc] initAsNitrox:0.18 error:&e];
//    if(e) {
//        NSLog(@"%@", e);
//    }
//    else {
//        NSLog(@"%@", mix);
//    }

    /***
     * Create a ClassMethodTests object and test
     * the class methods of the GasMix class
     */
//    ClassMethodsTests *classTest = [[ClassMethodsTests alloc] init];
//    [classTest testClassEAD];
//    [classTest testClassEND];
//    [classTest release];
//    classTest = nil;
    
    /***
     * Create a InstanceMethodTests object and test
     * the instance methods of the GasMix class
     */
    InstanceMethodsTests *instanceTest = [[InstanceMethodsTests alloc] init];
//    [instanceTest testInitAsStdGas];
   [instanceTest testInitWithStdGasForDepth];
//    [instanceTest release];

    [pool drain];
    return 0;
}

